<template>
  <div class="app-container">
    <itemOptions :queryParams="itemParams.item_queryParams" :optionsParam="itemParams.item_optionsParam" @changeItemData="getItemOptionsValue"></itemOptions>
  </div>

</template>

<script>
import ItemOptions from "@/components/ItemOptions";
export default {
  components: { ItemOptions },
  data() {
    return {
      itemParams: {
        item_queryParams: {
          wellname: null,
          welltype: null,
          utilizationmode: null,
          enabled: null,
          entryname: null,
        },
        item_optionsParam: "well",
        itemSelectedValue: ""
      }
    }
  },
  created() {

  },
  mounted() {
    //this.getList();
  },
  computed: {

  },
  methods: {
    getItemOptionsValue(data) {
      this.itemSelectedValue = data;
      console.log(data)
    }
  }
}
</script>